package com.example.freshfoodproject.service;

import com.example.freshfoodproject.entry.Goods;
import com.example.freshfoodproject.util.PageHelper;

import java.util.List;

public interface ListService {
    public List<Goods> findType();
    public List<Goods> findAll();
    public Goods findName(String goodsName);
    public List<Goods> findGoodsByQueryAndIndex(Goods goods,PageHelper pageHelper);
    public List<Goods> findGoodsByQueryAndIndexSort(Goods goods,PageHelper pageHelper);
    public List<Goods> findGoodsByQueryAndIndexTotal(Goods goods,PageHelper pageHelper);
    public int changeTotal(Goods goods);
    public int chageRecentlyViewed(Goods goods);
}
